Introductory Paragraph

The World Happiness Index measures happiness based on respondent’s ratings of their own lives. The report offers a way to measure people’s quality of life and the effectiveness of the governments beyond gross domestic product and other economic indicators. By focusing on national well being, a country can take a more wholistic approach to improving their populace’s lives. The United Nations conducts the survey based on a ladder system by asking respondents to rate the best possible life at 10 and the worst possible life being a 0. Respondents from 155 countries are then asked to rate their own current lives on that 0 to 10 scale.

source("scripts/summary_info.R")
## 
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
## 
##     filter, lag
## The following objects are masked from 'package:base':
## 
##     intersect, setdiff, setequal, union
dataset <- read.csv(
  file = "data/world-happiness/2017.csv",
  stringsAsFactors = FALSE)
summary_list <- get_summary_info(dataset)

Summary Information

The World Happiness Index surveyed 155 countries. The happiest country in the world in 2017 was Norway with a score of 7.5370002. The unhappiest country in the world was Central African Republic with a score of 2.6930001

source("scripts/happy_analysis.R")
## 
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
## 
##     last_plot
## The following object is masked from 'package:stats':
## 
##     filter
## The following object is masked from 'package:graphics':
## 
##     layout

Including Plots

This chart visualizes what the freedom score of the top ten happiest countries. Freedom score is calculated by the Cato Institute using 79 distinct indicators of personal and economic freedom. The graph shows that the happiest countries share a similiar degree of freedom that can show correlation between the freedom and happiness scores.